<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>测试报告</title>
  <meta name="generator" content="XTestRunner 1.7.5"/>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/echarts/5.4.2/echarts.min.js"></script>
  <link rel="stylesheet" href="https://img.itest.info/seldom-main.css"/>
  <link rel="stylesheet" href="https://img.itest.info/seldom-utilities.css"/>

  <style type="text/css" media="screen">
  body {
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 80%;
  }

  table {
    font-size: 100%;
  }

  .table td {
    white-space: inherit !important;
  }

  /* -- heading ---------------------------------------------------------------------- */
  h1 {
    font-size: 16pt;
    color: gray;
  }

  pre {
    background-color: #eef2f7;
    padding-top: 10px;
    text-align: left;
    max-height: 600px;
    overflow: auto;
  }

  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: #F5F5F5;
  }

  ::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: rgba(114, 124, 245, .25);
  }

  ::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #6c757d;
  }

  .heading {
    margin-top: 20px;
    margin-bottom: 1ex;
    margin-left: 10px;
    margin-right: 10px;
    width: 23%;
    float: left;
    padding-top: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
    box-shadow: 0px 0px 5px #000;
  }

  .heading .attribute {
    margin-top: 1ex;
    margin-bottom: 0;
  }

  .heading .description {
    margin-top: 4ex;
    margin-bottom: 6ex;
  }

  /* -- css div popup ------------------------------------------------------------------------ */
  a.popup_link {
    font-size: .8125rem;
  }

  a.popup_link:hover {
    background-color: #e7eaf0;
    font-size: .8125rem;
  }

  .log_window {
    max-width: 70%;
    max-height: 70%;
  }

  /* -- report ------------------------------------------------------------------------ */
  .show_detail_line {
    margin-left: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .show_detail_button {
    margin-top: 3ex;
    margin-bottom: 1ex;
    margin-left: 10px;
    text-align: right;
    margin-right: 15px;
  }

  .header_row {
    font-weight: bold;
    color: #606060;
    border-top-width: 10px;
    border-color: #d6e9c6;
    font-size: 15px;
  }

  .total_row {
    font-weight: bold;
    background-color: #dee2e6;
  }

  .passClass {
    background-color: #ccf5e7;
  }

  .failClass {
    background-color: #ffe8cc;
  }

  .errorClass {
    background-color: #ffd6e0;
  }

  .skipClass {
    background-color: #e7eaf0;
  }

  .passCase {
    color: #00CC88;
    font-weight: bold;
  }

  .failCase {
    color: #FF8C00;
    font-weight: bold;
  }

  .errorCase {
    color: #FF3366;
    font-weight: bold;
  }

  .skipCase {
    color: #525f7f;
    font-weight: bold;
  }

  .hiddenRow {
    display: none;
  }

  .caseStatistics {
    width: 46%
  }

  .none {
    color: #009900
  }

  .testcase {
    margin-left: 2em;
  }

  /* -- chars ---------------------------------------------------------------------- */
  .testChars {
    width: 900px;
    margin-left: 0px;
  }

  .error-color {
    color: #fff;
    background-color: #f44455;
    border-color: #f44455;
  }

  .pass-color {
    color: #fff;
    background-color: #5fc27e;
    border-color: #5fc27e;
  }

  .fail-color {
    color: #fff;
    background-color: #fcc100;
    border-color: #fcc100;
  }

  .skip-color {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
  }

  /* -- screenshots ---------------------------------------------------------------------- */
  .img {
    border-collapse: collapse;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
  }

  .img-card {
    height: 600px;
    width: 800px;
    background-color: #e7eaf0;
  }

  .img-circle {
    height: 20px;
    border-radius: 12px;
    background-color: red;
    padding-left: 13px;
    margin: 0 auto;
    position: relative;
    top: -40px;
    background-color: rgba(1, 150, 0, 0.3);
  }

  .img-circle font {
    border: 1px solid white;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    margin-right: 9px;
    margin-top: 4px;
    display: block;
    float: left;
    background-color: white;
  }

  .close-shots {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 99;
  }

  .footer {
    height: 50px;
    width: 100%;
    position: fixed;
    bottom: 0;
  }

  #headContainer {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .head-list {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  #resultContainer {
    margin-left: 30px;
    margin-right: 30px;
  }
</style>
</head>

<body style="background-color: #f5f9fc">
<nav
  class="navbar navbar-light position-lg-sticky top-lg-0 d-none d-lg-block overlap-10 flex-none bg-white border-bottom px-0 py-3"
  id="topbar">
  <div class="container-fluid">
    <div class="hstack gap-2">
      <a href="https://github.com/SeldomQA/XTestRunner">
        <img src="http://img.itest.info/XTestRunner_logo.jpg" style="height: 2.25rem;">
      </a>
    </div>
    <div class="navbar-user d-none d-sm-block">
      <div class="hstack gap-3 ms-4">
        <h3 style="float: right;"> 测试报告 </h3>
      </div>
    </div>
  </div>
</nav>

<div id="headContainer" class="container-fluid mm-active">
  <div class="row">
    <!-- Overview data -->
    <div class="col-12 col-lg-5 col-xl-3 d-flex" style="float:left">
      <div class='card flex-fill'>
        <div class="card-header">
          <div class="d-flex align-items-center">
            <h5 class="mb-0" id="overview">概述</h5>
          </div>
        </div>
        <div class="card-body py-0 position-relative scrollable-y" style="max-height:300px">
          <div class="list-group list-group-flush">
            <div class="list-group-item px-0 position-relative hstack flex-wrap head-list">
              <div class="flex-1">
                <div class="d-flex align-items-center mb-1">👨‍🔧 测试人员</div>
                <div class="d-flex align-items-center">
                  <div class="text-sm text-muted line-clamp-1 me-auto">Anonymous</div>
                </div>
              </div>
            </div>
            <div class="list-group-item px-0 position-relative hstack flex-wrap head-list">
              <div class="flex-1">
                <div class="d-flex align-items-center mb-1">🕒 开始时间</div>
                <div class="d-flex align-items-center">
                  <div class="text-sm text-muted line-clamp-1 me-auto">2025-04-14 16:42:25</div>
                </div>
              </div>
            </div>
            <div class="list-group-item px-0 position-relative hstack flex-wrap head-list">
              <div class="flex-1">
                <div class="d-flex align-items-center mb-1">🕘 结束时间</div>
                <div class="d-flex align-items-center">
                  <div class="text-sm text-muted line-clamp-1 me-auto">2025-04-14 16:43:19</div>
                </div>
              </div>
            </div>
            <div class="list-group-item px-0 position-relative hstack flex-wrap head-list">
              <div class="flex-1">
                <div class="d-flex align-items-center mb-1">⌛ 运行时长</div>
                <div class="d-flex align-items-center">
                  <div class="text-sm text-muted line-clamp-1 me-auto">0:00:53.302</div>
                </div>
              </div>
            </div>
            <div class="list-group-item px-0 position-relative hstack flex-wrap" style="padding-top: 5px;">
              <div class="flex-1">
                <div class="d-flex align-items-center mb-1">ℹ️ 描述</div>
                <div class="d-flex align-items-center">
                  <div class="text-sm text-muted me-auto"></div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <!-- passed & failed -->
    <div style="width: 20%">
      <div class="card" style="height: 45%;">
        <div class="card-body">
          <div class="row">
            <div class="col"><span class="h6 font-semibold text-muted text-sm d-block mb-2">通过</span>
              <span class="h3 font-bold mb-0" id="p_number">1</span>
            </div>
            <div class="col-auto">
              <div class="icon icon-shape bg-success text-white text-lg rounded-circle">P</div>
            </div>
          </div>
          <div class="mt-2 mb-0 text-sm">
            <span class="badge badge-pill bg-soft-success text-success me-2">100.00%</span>
            <span class="text-nowrap text-xs text-muted">通过率</span>
          </div>
          <div class="d-flex align-items-center">
            <div class="progress" style="width:70%; margin-top: 5px;">
              <div class="progress-bar bg-success" role="progressbar" aria-valuenow="83" aria-valuemin="0"
                   aria-valuemax="100" style="width:100.00%"></div>
            </div>
          </div>
        </div>
      </div>
      <div class="card" style="height: 45%; top: 10%;">
        <div class="card-body">
          <div class="row">
            <div class="col"><span class="h6 font-semibold text-muted text-sm d-block mb-2">失败</span>
              <span class="h3 font-bold mb-0" id="f_number">0</span>
            </div>
            <div class="col-auto">
              <div class="icon icon-shape bg-warning text-white text-lg rounded-circle">F</div>
            </div>
          </div>
          <div class="mt-2 mb-0 text-sm">
            <span class="badge badge-pill bg-soft-warning text-warning me-2">0.00%</span>
            <span class="text-nowrap text-xs text-muted">失败率</span>
          </div>
          <div class="d-flex align-items-center">
            <div class="progress" style="width:70%; margin-top: 5px;">
              <div class="progress-bar bg-warning" role="progressbar" aria-valuenow="83" aria-valuemin="0"
                   aria-valuemax="100" style="width:0.00%"></div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <!-- error & skipped -->
    <div style="width: 20%">
      <div class="card" style="height: 45%;">
        <div class="card-body">
          <div class="row">
            <div class="col"><span class="h6 font-semibold text-muted text-sm d-block mb-2">错误</span>
              <span class="h3 font-bold mb-0" id="e_number">0</span>
            </div>
            <div class="col-auto">
              <div class="icon icon-shape bg-danger text-white text-lg rounded-circle">E</div>
            </div>
          </div>
          <div class="mt-2 mb-0 text-sm">
            <span class="badge badge-pill bg-soft-danger text-danger me-2">0.00%</span>
            <span class="text-nowrap text-xs text-muted">错误率</span>
          </div>
          <div class="d-flex align-items-center">
            <div class="progress" style="width:70%; margin-top: 5px;">
              <div class="progress-bar bg-danger" role="progressbar" aria-valuenow="83" aria-valuemin="0"
                   aria-valuemax="100" style="width:0.00%"></div>
            </div>
          </div>
        </div>
      </div>
      <div class="card" style="height: 45%; top: 10%;">
        <div class="card-body">
          <div class="row">
            <div class="col">
              <span class="h6 font-semibold text-muted text-sm d-block mb-2">跳过</span>
              <span class="h3 font-bold mb-0" id="s_number">0</span>
            </div>
            <div class="col-auto">
              <div class="icon icon-shape bg-secondary text-white text-lg rounded-circle">S</div>
            </div>
          </div>
          <div class="mt-2 mb-0 text-sm">
            <span class="badge badge-pill bg-soft-secondary text-secondary me-2">0.00%</span>
            <span class="text-nowrap text-xs text-muted">跳过率</span>
          </div>
          <div class="d-flex align-items-center">
            <div class="progress" style="width:70%; margin-top: 5px;">
              <div class="progress-bar bg-secondary" role="progressbar" aria-valuenow="83" aria-valuemin="0"
                   aria-valuemax="100" style="width:0.00%"></div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <!-- history data -->
    <div class="col-12 col-lg-5 col-xl-4 d-flex" style="float:right">
      <div class='card flex-fill'>
        <div id="echartElement" class="apex-charts" data-colors="#42d29d,#44badc" style="height:420px; padding:10px;">
        </div>
      </div>
    </div>
  </div>
</div> <div id="resultContainer" class="card">
  <div class="card-header border-bottom">
    <span style="float: left">
      <h5 class="mb-0">结果</h5>
    </span>
    <span style="float: right">
      <a href="javascript:showCase(0, 1)"
         class="btn btn-dark btn-sm">摘要</a>
      <a href="javascript:showCase(1, 1)"
         class="btn btn-success btn-sm">通过</a>
      <a href="javascript:showCase(2, 1)"
         class="btn btn-warning btn-sm">失败</a>
      <a href="javascript:showCase(3, 1)"
         class="btn btn-danger btn-sm">错误</a>
      <a href="javascript:showCase(4, 1)"
         class="btn btn-secondary btn-sm">跳过</a>
      <a href="javascript:showCase(5, 1)"
         class="btn btn-info btn-sm">所有</a>
    </span>
  </div>
  <div class="table-responsive">
    <table class="table table-hover table-nowrap">
      <thead class="table-light">
      <tr>
        <th scope="col">测试类/测试用例</th>
        <th scope="col">描述</th>
        <th scope="col">时长</th>
        <th scope="col">结果</th>
        <th scope="col">查看</th>
        <th scope="col">截图</th>
      </tr>
      </thead>
      <tbody>
      
<tr class='passClass'>
    <td>TestCase.test_case</td>
    <td></td>
    <td></td>
    <td>Passed:1,Failure:0,Errors:0,Skipped:0</td>
    <td><a href="javascript:showClassDetail('c1.1',1)">Detail</a></td>
    <td>&nbsp;</td>
</tr>

<tr id='pt1.1.1' class='hiddenRow'>
    <td class='passCase'>
        <div class='testcase'>test_01</div>
    </td>
    <td style="color: #495057">
        <div></div>
    </td>
    <td style="color: #495057">
        <div>53.3 s</div>
    </td>
    <td>
         <div class="progress" style="width:50px;">
          <div class='progress-bar bg-success' role="progressbar" aria-valuenow="83" aria-valuemin="0"
            aria-valuemax="100" style='width:100%'></div>
        </div>
    </td>
    <td>
        <!--css div popup start-->
        <a class="popup_link" href="javascript:void(0)" onclick="showLog('div_pt1.1.1')">log</a>
        <div id='div_pt1.1.1' class="modal show case-log" style="display: none; background-color: #000000c7;">
            <div class="modal-dialog modal-dialog-centered log_window">
                <div class="modal-content shadow-3">
                    <div class="modal-header">
                        <div>
                            <h5 class="mb-1">test_01</h5>
                        </div>
                        <div>
                            <h5 class="mb-1">detailed log</h5>
                        </div>
                        <div>
                            <button type="button" class="btn btn-sm btn-square bg-tertiary bg-opacity-20 bg-opacity-100-hover text-tertiary text-white-hover" data-bs-dismiss="modal" onclick="hideLog('div_pt1.1.1')">X</button>
                        </div>
                    </div>
                    <div class="modal-body">
                        <div>
                            <pre>pt1.1.1: --- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 672, in run
    self._callSetUp()
  File "E:\pythoninstall\lib\unittest\case.py", line 630, in _callSetUp
    self.setUp()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 9, in setUp
    self.driver=webdriver.Edge()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\edge\webdriver.py", line 45, in __init__
    super().__init__(
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 50, in __init__
    if finder.get_browser_path():
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 47, in get_browser_path
    return self._binary_paths()["browser_path"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 67, in _binary_paths
    output = SeleniumManager().binary_paths(self._to_args())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 47, in binary_paths
    args = [str(self._get_binary())] + args
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 101, in _get_binary
    logger.debug("Selenium Manager binary found at: %s", path)
Message: 'Selenium Manager binary found at: %s'
Arguments: (WindowsPath('E:/pythoninstall/lib/site-packages/selenium/webdriver/common/windows/selenium-manager.exe'),)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 672, in run
    self._callSetUp()
  File "E:\pythoninstall\lib\unittest\case.py", line 630, in _callSetUp
    self.setUp()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 9, in setUp
    self.driver=webdriver.Edge()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\edge\webdriver.py", line 45, in __init__
    super().__init__(
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 50, in __init__
    if finder.get_browser_path():
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 47, in get_browser_path
    return self._binary_paths()["browser_path"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 67, in _binary_paths
    output = SeleniumManager().binary_paths(self._to_args())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 55, in binary_paths
    return self._run(args)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 114, in _run
    logger.debug("Executing process: %s", command)
Message: 'Executing process: %s'
Arguments: ('E:\\pythoninstall\\lib\\site-packages\\selenium\\webdriver\\common\\windows\\selenium-manager.exe --browser MicrosoftEdge --debug --language-binding python --output json',)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 672, in run
    self._callSetUp()
  File "E:\pythoninstall\lib\unittest\case.py", line 630, in _callSetUp
    self.setUp()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 9, in setUp
    self.driver=webdriver.Edge()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\edge\webdriver.py", line 45, in __init__
    super().__init__(
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 50, in __init__
    if finder.get_browser_path():
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 47, in get_browser_path
    return self._binary_paths()["browser_path"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 67, in _binary_paths
    output = SeleniumManager().binary_paths(self._to_args())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 55, in binary_paths
    return self._run(args)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 126, in _run
    SeleniumManager._process_logs(output["logs"])
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 140, in _process_logs
    logger.debug(item["message"])
Message: 'Found msedgedriver 134.0.3124.93 in PATH: C:\\Users\\HP\\Desktop\\zhuangao5\\edgedriver_win64\\msedgedriver.exe'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 672, in run
    self._callSetUp()
  File "E:\pythoninstall\lib\unittest\case.py", line 630, in _callSetUp
    self.setUp()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 9, in setUp
    self.driver=webdriver.Edge()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\edge\webdriver.py", line 45, in __init__
    super().__init__(
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 50, in __init__
    if finder.get_browser_path():
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 47, in get_browser_path
    return self._binary_paths()["browser_path"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 67, in _binary_paths
    output = SeleniumManager().binary_paths(self._to_args())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 55, in binary_paths
    return self._run(args)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 126, in _run
    SeleniumManager._process_logs(output["logs"])
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 140, in _process_logs
    logger.debug(item["message"])
Message: 'MicrosoftEdge detected at C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 672, in run
    self._callSetUp()
  File "E:\pythoninstall\lib\unittest\case.py", line 630, in _callSetUp
    self.setUp()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 9, in setUp
    self.driver=webdriver.Edge()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\edge\webdriver.py", line 45, in __init__
    super().__init__(
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 50, in __init__
    if finder.get_browser_path():
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 47, in get_browser_path
    return self._binary_paths()["browser_path"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 67, in _binary_paths
    output = SeleniumManager().binary_paths(self._to_args())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 55, in binary_paths
    return self._run(args)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 126, in _run
    SeleniumManager._process_logs(output["logs"])
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 140, in _process_logs
    logger.debug(item["message"])
Message: "Running command: wmic datafile where name='C:\\\\Program Files (x86)\\\\Microsoft\\\\Edge\\\\Application\\\\msedge.exe' get Version /value"
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 672, in run
    self._callSetUp()
  File "E:\pythoninstall\lib\unittest\case.py", line 630, in _callSetUp
    self.setUp()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 9, in setUp
    self.driver=webdriver.Edge()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\edge\webdriver.py", line 45, in __init__
    super().__init__(
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 50, in __init__
    if finder.get_browser_path():
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 47, in get_browser_path
    return self._binary_paths()["browser_path"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 67, in _binary_paths
    output = SeleniumManager().binary_paths(self._to_args())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 55, in binary_paths
    return self._run(args)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 126, in _run
    SeleniumManager._process_logs(output["logs"])
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 140, in _process_logs
    logger.debug(item["message"])
Message: 'Output: "\\r\\r\\n\\r\\r\\nVersion=135.0.3179.73\\r\\r\\n\\r\\r\\n\\r\\r\\n\\r"'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 672, in run
    self._callSetUp()
  File "E:\pythoninstall\lib\unittest\case.py", line 630, in _callSetUp
    self.setUp()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 9, in setUp
    self.driver=webdriver.Edge()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\edge\webdriver.py", line 45, in __init__
    super().__init__(
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 50, in __init__
    if finder.get_browser_path():
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 47, in get_browser_path
    return self._binary_paths()["browser_path"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 67, in _binary_paths
    output = SeleniumManager().binary_paths(self._to_args())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 55, in binary_paths
    return self._run(args)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 126, in _run
    SeleniumManager._process_logs(output["logs"])
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 140, in _process_logs
    logger.debug(item["message"])
Message: 'Detected browser: MicrosoftEdge 135.0.3179.73'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 672, in run
    self._callSetUp()
  File "E:\pythoninstall\lib\unittest\case.py", line 630, in _callSetUp
    self.setUp()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 9, in setUp
    self.driver=webdriver.Edge()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\edge\webdriver.py", line 45, in __init__
    super().__init__(
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 50, in __init__
    if finder.get_browser_path():
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 47, in get_browser_path
    return self._binary_paths()["browser_path"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 67, in _binary_paths
    output = SeleniumManager().binary_paths(self._to_args())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 55, in binary_paths
    return self._run(args)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 126, in _run
    SeleniumManager._process_logs(output["logs"])
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 140, in _process_logs
    logger.debug(item["message"])
Message: 'Required driver: msedgedriver 135.0.3179.73'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 672, in run
    self._callSetUp()
  File "E:\pythoninstall\lib\unittest\case.py", line 630, in _callSetUp
    self.setUp()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 9, in setUp
    self.driver=webdriver.Edge()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\edge\webdriver.py", line 45, in __init__
    super().__init__(
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 50, in __init__
    if finder.get_browser_path():
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 47, in get_browser_path
    return self._binary_paths()["browser_path"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 67, in _binary_paths
    output = SeleniumManager().binary_paths(self._to_args())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 55, in binary_paths
    return self._run(args)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 126, in _run
    SeleniumManager._process_logs(output["logs"])
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 138, in _process_logs
    logger.warning(item["message"])
Message: 'The msedgedriver version (134.0.3124.93) detected in PATH at C:\\Users\\HP\\Desktop\\zhuangao5\\edgedriver_win64\\msedgedriver.exe might not be compatible with the detected MicrosoftEdge version (135.0.3179.73); currently, msedgedriver 135.0.3179.73 is recommended for MicrosoftEdge 135.*, so it is advised to delete the driver in PATH and retry'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 672, in run
    self._callSetUp()
  File "E:\pythoninstall\lib\unittest\case.py", line 630, in _callSetUp
    self.setUp()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 9, in setUp
    self.driver=webdriver.Edge()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\edge\webdriver.py", line 45, in __init__
    super().__init__(
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 50, in __init__
    if finder.get_browser_path():
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 47, in get_browser_path
    return self._binary_paths()["browser_path"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 67, in _binary_paths
    output = SeleniumManager().binary_paths(self._to_args())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 55, in binary_paths
    return self._run(args)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 126, in _run
    SeleniumManager._process_logs(output["logs"])
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 140, in _process_logs
    logger.debug(item["message"])
Message: 'Driver path: C:\\Users\\HP\\Desktop\\zhuangao5\\edgedriver_win64\\msedgedriver.exe'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 672, in run
    self._callSetUp()
  File "E:\pythoninstall\lib\unittest\case.py", line 630, in _callSetUp
    self.setUp()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 9, in setUp
    self.driver=webdriver.Edge()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\edge\webdriver.py", line 45, in __init__
    super().__init__(
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 50, in __init__
    if finder.get_browser_path():
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 47, in get_browser_path
    return self._binary_paths()["browser_path"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 67, in _binary_paths
    output = SeleniumManager().binary_paths(self._to_args())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 55, in binary_paths
    return self._run(args)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 126, in _run
    SeleniumManager._process_logs(output["logs"])
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 140, in _process_logs
    logger.debug(item["message"])
Message: 'Browser path: C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 672, in run
    self._callSetUp()
  File "E:\pythoninstall\lib\unittest\case.py", line 630, in _callSetUp
    self.setUp()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 9, in setUp
    self.driver=webdriver.Edge()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\edge\webdriver.py", line 45, in __init__
    super().__init__(
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 55, in __init__
    self.service.start()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\service.py", line 104, in start
    self._start_process(self._path)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\common\service.py", line 225, in _start_process
    logger.debug(
Message: 'Started executable: `%s` in a child process with pid: %s using %s to output %s'
Arguments: ('C:\\Users\\HP\\Desktop\\zhuangao5\\edgedriver_win64\\msedgedriver.exe', 36064, 0, -3)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 672, in run
    self._callSetUp()
  File "E:\pythoninstall\lib\unittest\case.py", line 630, in _callSetUp
    self.setUp()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 9, in setUp
    self.driver=webdriver.Edge()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\edge\webdriver.py", line 45, in __init__
    super().__init__(
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 66, in __init__
    super().__init__(command_executor=executor, options=options)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 241, in __init__
    self.start_session(capabilities)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 329, in start_session
    response = self.execute(Command.NEW_SESSION, caps)["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('POST', 'http://localhost:58764/session', "{'capabilities': {'firstMatch': [{}], 'alwaysMatch': {'browserName': 'MicrosoftEdge', 'pageLoadStrategy': &lt;PageLoadStrategy.normal: 'normal'&gt;, 'browserVersion': None, 'ms:edgeOptions': {'extensions': [], 'binary': 'C:\\\\Program Files (x86)\\\\Microsoft\\\\Edge\\\\Application\\\\msedge.exe', 'args': []}}}}")
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 672, in run
    self._callSetUp()
  File "E:\pythoninstall\lib\unittest\case.py", line 630, in _callSetUp
    self.setUp()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 9, in setUp
    self.driver=webdriver.Edge()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\edge\webdriver.py", line 45, in __init__
    super().__init__(
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 66, in __init__
    super().__init__(command_executor=executor, options=options)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 241, in __init__
    self.start_session(capabilities)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 329, in start_session
    response = self.execute(Command.NEW_SESSION, caps)["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 81, in request
    return self.request_encode_body(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 173, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 705, in urlopen
    conn = self._get_conn(timeout=pool_timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 299, in _get_conn
    return conn or self._new_conn()
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 246, in _new_conn
    log.debug(
Message: 'Starting new HTTP connection (%d): %s:%s'
Arguments: (1, 'localhost', 58764)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 672, in run
    self._callSetUp()
  File "E:\pythoninstall\lib\unittest\case.py", line 630, in _callSetUp
    self.setUp()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 9, in setUp
    self.driver=webdriver.Edge()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\edge\webdriver.py", line 45, in __init__
    super().__init__(
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 66, in __init__
    super().__init__(command_executor=executor, options=options)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 241, in __init__
    self.start_session(capabilities)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 329, in start_session
    response = self.execute(Command.NEW_SESSION, caps)["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 81, in request
    return self.request_encode_body(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 173, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'POST', '/session', 'HTTP/1.1', 200, 850)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 672, in run
    self._callSetUp()
  File "E:\pythoninstall\lib\unittest\case.py", line 630, in _callSetUp
    self.setUp()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 9, in setUp
    self.driver=webdriver.Edge()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\edge\webdriver.py", line 45, in __init__
    super().__init__(
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 66, in __init__
    super().__init__(command_executor=executor, options=options)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 241, in __init__
    self.start_session(capabilities)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 329, in start_session
    response = self.execute(Command.NEW_SESSION, caps)["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":{"capabilities":{"acceptInsecureCerts":false,"browserName":"MicrosoftEdge","browserVersion":"135.0.3179.73","fedcm:accounts":true,"ms:edgeOptions":{"debuggerAddress":"localhost:58769"},"msedge":{"msedgedriverVersion":"134.0.3124.93 (a9facff5fd6c66ae79cfaf1d53173fe3d137e8d7)","userDataDir":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Temp\\\\scoped_dir36064_193665479"},"networkConnectionEnabled":false,"pageLoadStrategy":"normal","platformName":"windows","proxy":{},"setWindowRect":true,"strictFileInteractability":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"unhandledPromptBehavior":"dismiss and notify","webauthn:extension:credBlob":true,"webauthn:extension:largeBlob":true,"webauthn:extension:minPinLength":true,"webauthn:extension:prf":true,"webauthn:virtualAuthenticators":true},"sessionId":"a01b722ce9031e84ad392113f2833763"}}', HTTPHeaderDict({'Content-Length': '850', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 672, in run
    self._callSetUp()
  File "E:\pythoninstall\lib\unittest\case.py", line 630, in _callSetUp
    self.setUp()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 9, in setUp
    self.driver=webdriver.Edge()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\edge\webdriver.py", line 45, in __init__
    super().__init__(
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 66, in __init__
    super().__init__(command_executor=executor, options=options)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 241, in __init__
    self.start_session(capabilities)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 329, in start_session
    response = self.execute(Command.NEW_SESSION, caps)["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 672, in run
    self._callSetUp()
  File "E:\pythoninstall\lib\unittest\case.py", line 630, in _callSetUp
    self.setUp()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 10, in setUp
    self.driver.maximize_window()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 536, in maximize_window
    self.execute(command, None)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('POST', 'http://localhost:58764/session/a01b722ce9031e84ad392113f2833763/window/maximize', '{}')
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 672, in run
    self._callSetUp()
  File "E:\pythoninstall\lib\unittest\case.py", line 630, in _callSetUp
    self.setUp()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 10, in setUp
    self.driver.maximize_window()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 536, in maximize_window
    self.execute(command, None)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 81, in request
    return self.request_encode_body(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 173, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'POST', '/session/a01b722ce9031e84ad392113f2833763/window/maximize', 'HTTP/1.1', 200, 51)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 672, in run
    self._callSetUp()
  File "E:\pythoninstall\lib\unittest\case.py", line 630, in _callSetUp
    self.setUp()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 10, in setUp
    self.driver.maximize_window()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 536, in maximize_window
    self.execute(command, None)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":{"height":832,"width":1552,"x":-8,"y":-8}}', HTTPHeaderDict({'Content-Length': '51', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 672, in run
    self._callSetUp()
  File "E:\pythoninstall\lib\unittest\case.py", line 630, in _callSetUp
    self.setUp()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 10, in setUp
    self.driver.maximize_window()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 536, in maximize_window
    self.execute(command, None)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 42, in test_01_luoji
    self.open_url('https://music.163.com/store/product/')
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 12, in open_url
    self.driver.get(url)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 393, in get
    self.execute(Command.GET, {"url": url})
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('POST', 'http://localhost:58764/session/a01b722ce9031e84ad392113f2833763/url', "{'url': 'https://music.163.com/store/product/'}")
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 42, in test_01_luoji
    self.open_url('https://music.163.com/store/product/')
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 12, in open_url
    self.driver.get(url)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 393, in get
    self.execute(Command.GET, {"url": url})
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 81, in request
    return self.request_encode_body(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 173, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'POST', '/session/a01b722ce9031e84ad392113f2833763/url', 'HTTP/1.1', 200, 14)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 42, in test_01_luoji
    self.open_url('https://music.163.com/store/product/')
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 12, in open_url
    self.driver.get(url)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 393, in get
    self.execute(Command.GET, {"url": url})
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":null}', HTTPHeaderDict({'Content-Length': '14', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 42, in test_01_luoji
    self.open_url('https://music.163.com/store/product/')
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 12, in open_url
    self.driver.get(url)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 393, in get
    self.execute(Command.GET, {"url": url})
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 21, in search
    self.click(self.proce)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('POST', 'http://localhost:58764/session/a01b722ce9031e84ad392113f2833763/element', "{'using': 'xpath', 'value': '/html/body/div[3]/div/ul/li[1]/a'}")
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 21, in search
    self.click(self.proce)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 81, in request
    return self.request_encode_body(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 173, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'POST', '/session/a01b722ce9031e84ad392113f2833763/element', 'HTTP/1.1', 200, 127)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 21, in search
    self.click(self.proce)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":{"element-6066-11e4-a52e-4f735466cecf":"f.584CF6AB1C3F606632DD8B6772BD3E92.d.AF671DEB2A29AB3A930D27007F2AA4E5.e.462"}}', HTTPHeaderDict({'Content-Length': '127', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 21, in search
    self.click(self.proce)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 21, in search
    self.click(self.proce)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 252, in is_displayed
    return self.parent.execute_script(f"/* isDisplayed */return ({isDisplayed_js}).apply(null, arguments);", self)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 444, in execute_script
    return self.execute(command, {"script": script, "args": converted_args})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('POST', 'http://localhost:58764/session/a01b722ce9031e84ad392113f2833763/execute/sync', "{'script': '/* isDisplayed */return (function(){return (function(){var g=this||self;\\nfunction aa(a){var b=typeof...', 'args': [{'element-6066-11e4-a52e-4f735466cecf': 'f.584CF6AB1C3F606632DD8B6772BD3E92.d.AF671DEB2A29AB3A930D27007F2AA4E5.e.462'}]}")
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 21, in search
    self.click(self.proce)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 252, in is_displayed
    return self.parent.execute_script(f"/* isDisplayed */return ({isDisplayed_js}).apply(null, arguments);", self)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 444, in execute_script
    return self.execute(command, {"script": script, "args": converted_args})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 81, in request
    return self.request_encode_body(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 173, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'POST', '/session/a01b722ce9031e84ad392113f2833763/execute/sync', 'HTTP/1.1', 200, 14)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 21, in search
    self.click(self.proce)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 252, in is_displayed
    return self.parent.execute_script(f"/* isDisplayed */return ({isDisplayed_js}).apply(null, arguments);", self)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 444, in execute_script
    return self.execute(command, {"script": script, "args": converted_args})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":true}', HTTPHeaderDict({'Content-Length': '14', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 21, in search
    self.click(self.proce)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 252, in is_displayed
    return self.parent.execute_script(f"/* isDisplayed */return ({isDisplayed_js}).apply(null, arguments);", self)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 444, in execute_script
    return self.execute(command, {"script": script, "args": converted_args})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 21, in search
    self.click(self.proce)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 45, in find_element
    return self.driver.find_element(*loc)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('POST', 'http://localhost:58764/session/a01b722ce9031e84ad392113f2833763/element', "{'using': 'xpath', 'value': '/html/body/div[3]/div/ul/li[1]/a'}")
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 21, in search
    self.click(self.proce)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 45, in find_element
    return self.driver.find_element(*loc)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 81, in request
    return self.request_encode_body(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 173, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'POST', '/session/a01b722ce9031e84ad392113f2833763/element', 'HTTP/1.1', 200, 127)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 21, in search
    self.click(self.proce)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 45, in find_element
    return self.driver.find_element(*loc)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":{"element-6066-11e4-a52e-4f735466cecf":"f.584CF6AB1C3F606632DD8B6772BD3E92.d.AF671DEB2A29AB3A930D27007F2AA4E5.e.462"}}', HTTPHeaderDict({'Content-Length': '127', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 21, in search
    self.click(self.proce)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 45, in find_element
    return self.driver.find_element(*loc)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 21, in search
    self.click(self.proce)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 94, in click
    self._execute(Command.CLICK_ELEMENT)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 395, in _execute
    return self._parent.execute(command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('POST', 'http://localhost:58764/session/a01b722ce9031e84ad392113f2833763/element/f.584CF6AB1C3F606632DD8B6772BD3E92.d.AF671DEB2A29AB3A930D27007F2AA4E5.e.462/click', '{}')
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 21, in search
    self.click(self.proce)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 94, in click
    self._execute(Command.CLICK_ELEMENT)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 395, in _execute
    return self._parent.execute(command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 81, in request
    return self.request_encode_body(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 173, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'POST', '/session/a01b722ce9031e84ad392113f2833763/element/f.584CF6AB1C3F606632DD8B6772BD3E92.d.AF671DEB2A29AB3A930D27007F2AA4E5.e.462/click', 'HTTP/1.1', 200, 14)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 21, in search
    self.click(self.proce)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 94, in click
    self._execute(Command.CLICK_ELEMENT)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 395, in _execute
    return self._parent.execute(command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":null}', HTTPHeaderDict({'Content-Length': '14', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 21, in search
    self.click(self.proce)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 94, in click
    self._execute(Command.CLICK_ELEMENT)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 395, in _execute
    return self._parent.execute(command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 25, in search
    self.click(self.shop)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('POST', 'http://localhost:58764/session/a01b722ce9031e84ad392113f2833763/element', "{'using': 'css selector', 'value': '.f-img'}")
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 25, in search
    self.click(self.shop)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 81, in request
    return self.request_encode_body(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 173, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'POST', '/session/a01b722ce9031e84ad392113f2833763/element', 'HTTP/1.1', 200, 128)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 25, in search
    self.click(self.shop)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":{"element-6066-11e4-a52e-4f735466cecf":"f.584CF6AB1C3F606632DD8B6772BD3E92.d.06ED6305BE20D7754F12E2F8570C6DA5.e.2222"}}', HTTPHeaderDict({'Content-Length': '128', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 25, in search
    self.click(self.shop)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 25, in search
    self.click(self.shop)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 252, in is_displayed
    return self.parent.execute_script(f"/* isDisplayed */return ({isDisplayed_js}).apply(null, arguments);", self)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 444, in execute_script
    return self.execute(command, {"script": script, "args": converted_args})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('POST', 'http://localhost:58764/session/a01b722ce9031e84ad392113f2833763/execute/sync', "{'script': '/* isDisplayed */return (function(){return (function(){var g=this||self;\\nfunction aa(a){var b=typeof...', 'args': [{'element-6066-11e4-a52e-4f735466cecf': 'f.584CF6AB1C3F606632DD8B6772BD3E92.d.06ED6305BE20D7754F12E2F8570C6DA5.e.2222'}]}")
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 25, in search
    self.click(self.shop)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 252, in is_displayed
    return self.parent.execute_script(f"/* isDisplayed */return ({isDisplayed_js}).apply(null, arguments);", self)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 444, in execute_script
    return self.execute(command, {"script": script, "args": converted_args})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 81, in request
    return self.request_encode_body(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 173, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'POST', '/session/a01b722ce9031e84ad392113f2833763/execute/sync', 'HTTP/1.1', 200, 14)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 25, in search
    self.click(self.shop)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 252, in is_displayed
    return self.parent.execute_script(f"/* isDisplayed */return ({isDisplayed_js}).apply(null, arguments);", self)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 444, in execute_script
    return self.execute(command, {"script": script, "args": converted_args})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":true}', HTTPHeaderDict({'Content-Length': '14', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 25, in search
    self.click(self.shop)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 252, in is_displayed
    return self.parent.execute_script(f"/* isDisplayed */return ({isDisplayed_js}).apply(null, arguments);", self)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 444, in execute_script
    return self.execute(command, {"script": script, "args": converted_args})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 25, in search
    self.click(self.shop)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 45, in find_element
    return self.driver.find_element(*loc)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('POST', 'http://localhost:58764/session/a01b722ce9031e84ad392113f2833763/element', "{'using': 'css selector', 'value': '.f-img'}")
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 25, in search
    self.click(self.shop)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 45, in find_element
    return self.driver.find_element(*loc)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 81, in request
    return self.request_encode_body(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 173, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'POST', '/session/a01b722ce9031e84ad392113f2833763/element', 'HTTP/1.1', 200, 128)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 25, in search
    self.click(self.shop)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 45, in find_element
    return self.driver.find_element(*loc)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":{"element-6066-11e4-a52e-4f735466cecf":"f.584CF6AB1C3F606632DD8B6772BD3E92.d.06ED6305BE20D7754F12E2F8570C6DA5.e.2222"}}', HTTPHeaderDict({'Content-Length': '128', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 25, in search
    self.click(self.shop)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 45, in find_element
    return self.driver.find_element(*loc)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 25, in search
    self.click(self.shop)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 94, in click
    self._execute(Command.CLICK_ELEMENT)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 395, in _execute
    return self._parent.execute(command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('POST', 'http://localhost:58764/session/a01b722ce9031e84ad392113f2833763/element/f.584CF6AB1C3F606632DD8B6772BD3E92.d.06ED6305BE20D7754F12E2F8570C6DA5.e.2222/click', '{}')
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 25, in search
    self.click(self.shop)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 94, in click
    self._execute(Command.CLICK_ELEMENT)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 395, in _execute
    return self._parent.execute(command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 81, in request
    return self.request_encode_body(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 173, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'POST', '/session/a01b722ce9031e84ad392113f2833763/element/f.584CF6AB1C3F606632DD8B6772BD3E92.d.06ED6305BE20D7754F12E2F8570C6DA5.e.2222/click', 'HTTP/1.1', 200, 14)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 25, in search
    self.click(self.shop)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 94, in click
    self._execute(Command.CLICK_ELEMENT)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 395, in _execute
    return self._parent.execute(command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":null}', HTTPHeaderDict({'Content-Length': '14', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 25, in search
    self.click(self.shop)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 94, in click
    self._execute(Command.CLICK_ELEMENT)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 395, in _execute
    return self._parent.execute(command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 29, in search
    self.new_window()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 34, in new_window
    self.driver.switch_to.window(self.driver.window_handles[-1])
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 531, in window_handles
    return self.execute(Command.W3C_GET_WINDOW_HANDLES)["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('GET', 'http://localhost:58764/session/a01b722ce9031e84ad392113f2833763/window/handles', '{}')
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 29, in search
    self.new_window()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 34, in new_window
    self.driver.switch_to.window(self.driver.window_handles[-1])
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 531, in window_handles
    return self.execute(Command.W3C_GET_WINDOW_HANDLES)["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 77, in request
    return self.request_encode_url(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 99, in request_encode_url
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'GET', '/session/a01b722ce9031e84ad392113f2833763/window/handles', 'HTTP/1.1', 200, 81)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 29, in search
    self.new_window()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 34, in new_window
    self.driver.switch_to.window(self.driver.window_handles[-1])
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 531, in window_handles
    return self.execute(Command.W3C_GET_WINDOW_HANDLES)["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":["584CF6AB1C3F606632DD8B6772BD3E92","8B56FA3689CA530B7690E4A7221572DB"]}', HTTPHeaderDict({'Content-Length': '81', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 29, in search
    self.new_window()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 34, in new_window
    self.driver.switch_to.window(self.driver.window_handles[-1])
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 531, in window_handles
    return self.execute(Command.W3C_GET_WINDOW_HANDLES)["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 29, in search
    self.new_window()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 34, in new_window
    self.driver.switch_to.window(self.driver.window_handles[-1])
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\switch_to.py", line 133, in window
    self._w3c_window(window_name)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\switch_to.py", line 141, in _w3c_window
    send_handle(window_name)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\switch_to.py", line 137, in send_handle
    self._driver.execute(Command.SWITCH_TO_WINDOW, {"handle": h})
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('POST', 'http://localhost:58764/session/a01b722ce9031e84ad392113f2833763/window', "{'handle': '8B56FA3689CA530B7690E4A7221572DB'}")
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 29, in search
    self.new_window()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 34, in new_window
    self.driver.switch_to.window(self.driver.window_handles[-1])
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\switch_to.py", line 133, in window
    self._w3c_window(window_name)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\switch_to.py", line 141, in _w3c_window
    send_handle(window_name)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\switch_to.py", line 137, in send_handle
    self._driver.execute(Command.SWITCH_TO_WINDOW, {"handle": h})
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 81, in request
    return self.request_encode_body(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 173, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'POST', '/session/a01b722ce9031e84ad392113f2833763/window', 'HTTP/1.1', 200, 14)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 29, in search
    self.new_window()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 34, in new_window
    self.driver.switch_to.window(self.driver.window_handles[-1])
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\switch_to.py", line 133, in window
    self._w3c_window(window_name)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\switch_to.py", line 141, in _w3c_window
    send_handle(window_name)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\switch_to.py", line 137, in send_handle
    self._driver.execute(Command.SWITCH_TO_WINDOW, {"handle": h})
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":null}', HTTPHeaderDict({'Content-Length': '14', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 29, in search
    self.new_window()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 34, in new_window
    self.driver.switch_to.window(self.driver.window_handles[-1])
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\switch_to.py", line 133, in window
    self._w3c_window(window_name)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\switch_to.py", line 141, in _w3c_window
    send_handle(window_name)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\switch_to.py", line 137, in send_handle
    self._driver.execute(Command.SWITCH_TO_WINDOW, {"handle": h})
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 33, in search
    self.click(self.cangku)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('POST', 'http://localhost:58764/session/a01b722ce9031e84ad392113f2833763/element', '{\'using\': \'xpath\', \'value\': \'//*[@id="digital-counter-new"]/div[1]/a[2]/i\'}')
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 33, in search
    self.click(self.cangku)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 81, in request
    return self.request_encode_body(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 173, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'POST', '/session/a01b722ce9031e84ad392113f2833763/element', 'HTTP/1.1', 200, 127)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 33, in search
    self.click(self.cangku)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":{"element-6066-11e4-a52e-4f735466cecf":"f.8B56FA3689CA530B7690E4A7221572DB.d.3EDEC7A2EB05FF0BAD4AFB7A226A3460.e.793"}}', HTTPHeaderDict({'Content-Length': '127', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 33, in search
    self.click(self.cangku)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 33, in search
    self.click(self.cangku)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 252, in is_displayed
    return self.parent.execute_script(f"/* isDisplayed */return ({isDisplayed_js}).apply(null, arguments);", self)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 444, in execute_script
    return self.execute(command, {"script": script, "args": converted_args})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('POST', 'http://localhost:58764/session/a01b722ce9031e84ad392113f2833763/execute/sync', "{'script': '/* isDisplayed */return (function(){return (function(){var g=this||self;\\nfunction aa(a){var b=typeof...', 'args': [{'element-6066-11e4-a52e-4f735466cecf': 'f.8B56FA3689CA530B7690E4A7221572DB.d.3EDEC7A2EB05FF0BAD4AFB7A226A3460.e.793'}]}")
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 33, in search
    self.click(self.cangku)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 252, in is_displayed
    return self.parent.execute_script(f"/* isDisplayed */return ({isDisplayed_js}).apply(null, arguments);", self)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 444, in execute_script
    return self.execute(command, {"script": script, "args": converted_args})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 81, in request
    return self.request_encode_body(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 173, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'POST', '/session/a01b722ce9031e84ad392113f2833763/execute/sync', 'HTTP/1.1', 200, 14)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 33, in search
    self.click(self.cangku)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 252, in is_displayed
    return self.parent.execute_script(f"/* isDisplayed */return ({isDisplayed_js}).apply(null, arguments);", self)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 444, in execute_script
    return self.execute(command, {"script": script, "args": converted_args})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":true}', HTTPHeaderDict({'Content-Length': '14', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 33, in search
    self.click(self.cangku)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 252, in is_displayed
    return self.parent.execute_script(f"/* isDisplayed */return ({isDisplayed_js}).apply(null, arguments);", self)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 444, in execute_script
    return self.execute(command, {"script": script, "args": converted_args})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 33, in search
    self.click(self.cangku)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 45, in find_element
    return self.driver.find_element(*loc)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('POST', 'http://localhost:58764/session/a01b722ce9031e84ad392113f2833763/element', '{\'using\': \'xpath\', \'value\': \'//*[@id="digital-counter-new"]/div[1]/a[2]/i\'}')
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 33, in search
    self.click(self.cangku)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 45, in find_element
    return self.driver.find_element(*loc)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 81, in request
    return self.request_encode_body(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 173, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'POST', '/session/a01b722ce9031e84ad392113f2833763/element', 'HTTP/1.1', 200, 127)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 33, in search
    self.click(self.cangku)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 45, in find_element
    return self.driver.find_element(*loc)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":{"element-6066-11e4-a52e-4f735466cecf":"f.8B56FA3689CA530B7690E4A7221572DB.d.3EDEC7A2EB05FF0BAD4AFB7A226A3460.e.793"}}', HTTPHeaderDict({'Content-Length': '127', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 33, in search
    self.click(self.cangku)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 45, in find_element
    return self.driver.find_element(*loc)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 33, in search
    self.click(self.cangku)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 94, in click
    self._execute(Command.CLICK_ELEMENT)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 395, in _execute
    return self._parent.execute(command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('POST', 'http://localhost:58764/session/a01b722ce9031e84ad392113f2833763/element/f.8B56FA3689CA530B7690E4A7221572DB.d.3EDEC7A2EB05FF0BAD4AFB7A226A3460.e.793/click', '{}')
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 33, in search
    self.click(self.cangku)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 94, in click
    self._execute(Command.CLICK_ELEMENT)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 395, in _execute
    return self._parent.execute(command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 81, in request
    return self.request_encode_body(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 173, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'POST', '/session/a01b722ce9031e84ad392113f2833763/element/f.8B56FA3689CA530B7690E4A7221572DB.d.3EDEC7A2EB05FF0BAD4AFB7A226A3460.e.793/click', 'HTTP/1.1', 200, 14)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 33, in search
    self.click(self.cangku)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 94, in click
    self._execute(Command.CLICK_ELEMENT)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 395, in _execute
    return self._parent.execute(command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":null}', HTTPHeaderDict({'Content-Length': '14', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 33, in search
    self.click(self.cangku)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 94, in click
    self._execute(Command.CLICK_ELEMENT)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 395, in _execute
    return self._parent.execute(command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 37, in search
    self.click(self.buy)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('POST', 'http://localhost:58764/session/a01b722ce9031e84ad392113f2833763/element', "{'using': 'partial link text', 'value': '立即购买'}")
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 37, in search
    self.click(self.buy)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 81, in request
    return self.request_encode_body(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 173, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'POST', '/session/a01b722ce9031e84ad392113f2833763/element', 'HTTP/1.1', 200, 127)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 37, in search
    self.click(self.buy)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":{"element-6066-11e4-a52e-4f735466cecf":"f.8B56FA3689CA530B7690E4A7221572DB.d.3EDEC7A2EB05FF0BAD4AFB7A226A3460.e.782"}}', HTTPHeaderDict({'Content-Length': '127', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 37, in search
    self.click(self.buy)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 37, in search
    self.click(self.buy)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 252, in is_displayed
    return self.parent.execute_script(f"/* isDisplayed */return ({isDisplayed_js}).apply(null, arguments);", self)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 444, in execute_script
    return self.execute(command, {"script": script, "args": converted_args})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('POST', 'http://localhost:58764/session/a01b722ce9031e84ad392113f2833763/execute/sync', "{'script': '/* isDisplayed */return (function(){return (function(){var g=this||self;\\nfunction aa(a){var b=typeof...', 'args': [{'element-6066-11e4-a52e-4f735466cecf': 'f.8B56FA3689CA530B7690E4A7221572DB.d.3EDEC7A2EB05FF0BAD4AFB7A226A3460.e.782'}]}")
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 37, in search
    self.click(self.buy)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 252, in is_displayed
    return self.parent.execute_script(f"/* isDisplayed */return ({isDisplayed_js}).apply(null, arguments);", self)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 444, in execute_script
    return self.execute(command, {"script": script, "args": converted_args})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 81, in request
    return self.request_encode_body(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 173, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'POST', '/session/a01b722ce9031e84ad392113f2833763/execute/sync', 'HTTP/1.1', 200, 14)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 37, in search
    self.click(self.buy)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 252, in is_displayed
    return self.parent.execute_script(f"/* isDisplayed */return ({isDisplayed_js}).apply(null, arguments);", self)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 444, in execute_script
    return self.execute(command, {"script": script, "args": converted_args})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":true}', HTTPHeaderDict({'Content-Length': '14', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 37, in search
    self.click(self.buy)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in find_element
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\support\wait.py", line 96, in until
    value = method(self._driver)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 44, in &lt;lambda&gt;
    WebDriverWait(self.driver,20,0.5).until(lambda driver: self.driver.find_element(*loc).is_displayed())
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 252, in is_displayed
    return self.parent.execute_script(f"/* isDisplayed */return ({isDisplayed_js}).apply(null, arguments);", self)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 444, in execute_script
    return self.execute(command, {"script": script, "args": converted_args})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 37, in search
    self.click(self.buy)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 45, in find_element
    return self.driver.find_element(*loc)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('POST', 'http://localhost:58764/session/a01b722ce9031e84ad392113f2833763/element', "{'using': 'partial link text', 'value': '立即购买'}")
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 37, in search
    self.click(self.buy)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 45, in find_element
    return self.driver.find_element(*loc)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 81, in request
    return self.request_encode_body(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 173, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'POST', '/session/a01b722ce9031e84ad392113f2833763/element', 'HTTP/1.1', 200, 127)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 37, in search
    self.click(self.buy)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 45, in find_element
    return self.driver.find_element(*loc)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":{"element-6066-11e4-a52e-4f735466cecf":"f.8B56FA3689CA530B7690E4A7221572DB.d.3EDEC7A2EB05FF0BAD4AFB7A226A3460.e.782"}}', HTTPHeaderDict({'Content-Length': '127', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 37, in search
    self.click(self.buy)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 45, in find_element
    return self.driver.find_element(*loc)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 770, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 37, in search
    self.click(self.buy)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 94, in click
    self._execute(Command.CLICK_ELEMENT)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 395, in _execute
    return self._parent.execute(command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('POST', 'http://localhost:58764/session/a01b722ce9031e84ad392113f2833763/element/f.8B56FA3689CA530B7690E4A7221572DB.d.3EDEC7A2EB05FF0BAD4AFB7A226A3460.e.782/click', '{}')
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 37, in search
    self.click(self.buy)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 94, in click
    self._execute(Command.CLICK_ELEMENT)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 395, in _execute
    return self._parent.execute(command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 81, in request
    return self.request_encode_body(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 173, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'POST', '/session/a01b722ce9031e84ad392113f2833763/element/f.8B56FA3689CA530B7690E4A7221572DB.d.3EDEC7A2EB05FF0BAD4AFB7A226A3460.e.782/click', 'HTTP/1.1', 200, 14)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 37, in search
    self.click(self.buy)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 94, in click
    self._execute(Command.CLICK_ELEMENT)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 395, in _execute
    return self._parent.execute(command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":null}', HTTPHeaderDict({'Content-Length': '14', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "E:\pythoninstall\lib\unittest\case.py", line 633, in _callTestMethod
    method()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 19, in test_01
    po.test_01_luoji()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 43, in test_01_luoji
    self.search()
  File "E:\pythonpojects\专高5\yklx\lx2\Page.py", line 37, in search
    self.click(self.buy)
  File "E:\pythonpojects\专高5\yklx\lx2\Base.py", line 17, in click
    self.find_element(loc).click()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 94, in click
    self._execute(Command.CLICK_ELEMENT)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webelement.py", line 395, in _execute
    return self._parent.execute(command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 679, in run
    self._callTearDown()
  File "E:\pythoninstall\lib\unittest\case.py", line 636, in _callTearDown
    self.tearDown()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 13, in tearDown
    self.driver.quit()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 188, in quit
    super().quit()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 506, in quit
    self.execute(Command.QUIT)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 403, in execute
    LOGGER.debug("%s %s %s", command_info[0], url, str(trimmed))
Message: '%s %s %s'
Arguments: ('DELETE', 'http://localhost:58764/session/a01b722ce9031e84ad392113f2833763', '{}')
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 679, in run
    self._callTearDown()
  File "E:\pythoninstall\lib\unittest\case.py", line 636, in _callTearDown
    self.tearDown()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 13, in tearDown
    self.driver.quit()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 188, in quit
    super().quit()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 506, in quit
    self.execute(Command.QUIT)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 428, in _request
    response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 77, in request
    return self.request_encode_url(
  File "E:\pythoninstall\lib\site-packages\urllib3\request.py", line 99, in request_encode_url
    return self.urlopen(method, url, **extra_kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
  File "E:\pythoninstall\lib\site-packages\urllib3\connectionpool.py", line 475, in _make_request
    log.debug(
Message: '%s://%s:%s "%s %s %s" %s %s'
Arguments: ('http', 'localhost', 58764, 'DELETE', '/session/a01b722ce9031e84ad392113f2833763', 'HTTP/1.1', 200, 14)
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 679, in run
    self._callTearDown()
  File "E:\pythoninstall\lib\unittest\case.py", line 636, in _callTearDown
    self.tearDown()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 13, in tearDown
    self.driver.quit()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 188, in quit
    super().quit()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 506, in quit
    self.execute(Command.QUIT)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 436, in _request
    LOGGER.debug("Remote response: status=%s | data=%s | headers=%s", response.status, data, response.headers)
Message: 'Remote response: status=%s | data=%s | headers=%s'
Arguments: (200, '{"value":null}', HTTPHeaderDict({'Content-Length': '14', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'}))
--- Logging error ---
Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 436, in format
    return self._format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 432, in _format
    return self._fmt % record.__dict__
KeyError: 'dilename'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "E:\pythoninstall\lib\logging\__init__.py", line 1081, in emit
    msg = self.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 925, in format
    return fmt.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 667, in format
    s = self.formatMessage(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 636, in formatMessage
    return self._style.format(record)
  File "E:\pythoninstall\lib\logging\__init__.py", line 438, in format
    raise ValueError('Formatting field not found in record: %s' % e)
ValueError: Formatting field not found in record: 'dilename'
Call stack:
  File "E:/pythonpojects/专高5/yklx/lx2/TestRun.py", line 15, in &lt;module&gt;
    runner.run(run)
  File "E:\pythoninstall\lib\site-packages\XTestRunner\htmlrunner\runner.py", line 232, in run
    testlist(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\suite.py", line 84, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\suite.py", line 122, in run
    test(result)
  File "E:\pythoninstall\lib\unittest\case.py", line 736, in __call__
    return self.run(*args, **kwds)
  File "E:\pythoninstall\lib\unittest\case.py", line 679, in run
    self._callTearDown()
  File "E:\pythoninstall\lib\unittest\case.py", line 636, in _callTearDown
    self.tearDown()
  File "E:\pythonpojects\专高5\yklx\lx2\TestCase.py", line 13, in tearDown
    self.driver.quit()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 188, in quit
    super().quit()
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 506, in quit
    self.execute(Command.QUIT)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 382, in execute
    response = self.command_executor.execute(driver_command, params)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 404, in execute
    return self._request(command_info[0], url, body=data)
  File "E:\pythoninstall\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 465, in _request
    LOGGER.debug("Finished Request")
Message: 'Finished Request'
Arguments: ()
</pre>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!--css div popup end-->
    </td>
    <td></td>
</tr>

      </tbody>
    </table>
  </div>
  <div class="card-footer border-0 py-5">
    <span class="text-muted text-sm">
      总数:
      <button type="button"
              class="btn btn-sm bg-dark bg-opacity-20 bg-opacity-100-hover text-dark text-white-hover">
        1
      </button>
      =
      <button type="button"
              class="btn btn-sm bg-success bg-opacity-20 bg-opacity-100-hover text-success text-white-hover">
        1
      </button>
      +
      <button type="button"
              class="btn btn-sm bg-warning bg-opacity-20 bg-opacity-100-hover text-warning text-white-hover">
        0
      </button>
      +
      <button type="button"
              class="btn btn-sm bg-danger bg-opacity-20 bg-opacity-100-hover text-danger text-white-hover">
        0
      </button>
      +
      <button type="button"
              class="btn btn-sm bg-secondary bg-opacity-20 bg-opacity-100-hover text-secondary text-white-hover">
        0
      </button>
    </span>
  </div>
</div>
<div style="height: 120px"></div> 
<script language="javascript" type="text/javascript">
  // statistical data
  var myChart = echarts.init(document.getElementById("echartElement"));

  var overview = document.querySelector("#overview").textContent;
  var passed = document.querySelector("#p_number").textContent;
  var failure = document.querySelector("#f_number").textContent;
  var errors = document.querySelector("#e_number").textContent;
  var skipped = document.querySelector("#s_number").textContent;

  if (overview === "Overview") {
    var title = "Statistical data";
    var dataClass = ["Passed", "Failure", "Errors", "Skipped"];
  } else {
    var title = "统计数据";
    var dataClass = ["通过", "失败", "错误", "跳过"];
  }
  myChart.setOption({
    title: {
      text: title,
    },
    tooltip: {
      trigger: "axis",
    },
    xAxis: {
      type: "category",
      data: dataClass,
    },
    yAxis: {
      type: "value",
    },
    series: [
      {
        name: "Passed",
        type: "bar",
        stack: "Total",
        data: [
          {
            value: parseInt(passed),
            itemStyle: { color: "#00CC88" },
          },
          {
            value: parseInt(failure),
            itemStyle: { color: "#FF8C00" },
          },
          {
            value: parseInt(errors),
            itemStyle: { color: "#FF3366" },
          },
          {
            value: parseInt(skipped),
            itemStyle: { color: "#CFD6DF" },
          },
        ],
      },
    ],
  });

  function showLog(id) {
    document.body.style.overflow = "hidden";
    document.body.style.height = "100%";
    document.getElementById(id).style.display = "block";
  }

  function hideLog(id) {
    document.body.style.overflow = "auto";
    document.getElementById(id).style.display = "none";
  }

  function showImg(obj) {
    document.body.style.overflow = "hidden";
    document.body.style.height = "100%";
    var nextObj = obj.nextElementSibling;
    nextObj.style.display = "block";
    var index = 0; //每张图片的下标，
    var len = nextObj.getElementsByTagName("img").length;
    var imgCircle = nextObj.getElementsByClassName("img-circle")[0];
    nextObj.onmouseover = function () {
      //当鼠标光标停在图片上，则停止轮播
      clearInterval(start);
    };
    nextObj.onmouseout = function () {
      //当鼠标光标停在图片上，则开始轮播
      start = setInterval(autoPlay, 1000);
    };
    for (var i = 0; i < len; i++) {
      var fontTag = document.createElement("font");
      imgCircle.appendChild(fontTag);
    }
    var fontTagList = nextObj.getElementsByTagName("font"); //得到所有圆圈
    changeImg(0);
    var funny = function (i) {
      fontTagList[i].onmouseover = function () {
        index = i;
        changeImg(i);
      };
    };
    for (var i = 0; i < fontTagList.length; i++) {
      funny(i);
    }

    function autoPlay() {
      if (index > len - 1) {
        index = 0;
        clearInterval(start); //运行一轮后停止
      }
      changeImg(index++);
    }
    imgCircle.style.width = 30 * len + "px";
    // 对应圆圈和图片同步
    function changeImg(index) {
      var imgTags = nextObj.getElementsByTagName("img");
      var fontTags = nextObj.getElementsByTagName("font");
      for (i = 0; i < fontTags.length; i++) {
        imgTags[i].style.display = "none";
        fontTags[i].style.backgroundColor = "white";
      }
      imgTags[index].style.display = "block";
      if (fontTags.length > 0) {
        fontTags[index].style.backgroundColor = "red";
      }
    }
  }

  function hideImg(obj) {
    document.body.style.overflow = "auto";
    obj.parentElement.parentElement.parentElement.parentElement.parentElement.style.display =
      "none";
    obj.parentElement.parentElement.parentElement.getElementsByClassName(
      "img-circle"
    )[0].innerHTML = "";
  }

  document.addEventListener("keydown", function (e) {
    if (e.key === "Escape") {
      document.body.style.overflow = "auto";
      var casesLog = document.querySelectorAll(".case-log");
      var casesImage = document.querySelectorAll("#case-image");
      var imagCircle = document.querySelectorAll(".img-circle");
      for (var i = 0; i < casesLog.length; i++) {
        casesLog[i].style.display = "none";
      }
      for (var i = 0; i < casesImage.length; i++) {
        casesImage[i].style.display = "none";
      }
      for (var i = 0; i < imagCircle.length; i++) {
        imagCircle[i].innerHTML = "";
      }
    }
  });

  output_list = Array();
  /* level
  - 0:Summary
  - 1:Failed
  - 2:Skip
  - 3:All
  */
  function showCase(level, channel) {
    trs = document.getElementsByTagName("tr");
    for (var i = 0; i < trs.length; i++) {
      tr = trs[i];
      id = tr.id;
      if (["ft", "pt", "et", "st"].indexOf(id.substr(0, 2)) != -1) {
        if (level == 0 && id.substr(2, 1) == channel) {
          tr.className = "hiddenRow";
        }
      }
      if (id.substr(0, 3) == "pt" + channel) {
        if (level == 1) {
          tr.className = "";
        } else if (level > 4 && id.substr(2, 1) == channel) {
          tr.className = "";
        } else {
          tr.className = "hiddenRow";
        }
      }
      if (id.substr(0, 3) == "ft" + channel) {
        if (level == 2) {
          tr.className = "";
        } else if (level > 4 && id.substr(2, 1) == channel) {
          tr.className = "";
        } else {
          tr.className = "hiddenRow";
        }
      }
      if (id.substr(0, 3) == "et" + channel) {
        if (level == 3) {
          tr.className = "";
        } else if (level > 4 && id.substr(2, 1) == channel) {
          tr.className = "";
        } else {
          tr.className = "hiddenRow";
        }
      }
      if (id.substr(0, 3) == "st" + channel) {
        if (level == 4) {
          tr.className = "";
        } else if (level > 4 && id.substr(2, 1) == channel) {
          tr.className = "";
        } else {
          tr.className = "hiddenRow";
        }
      }
    }
  }
  function showClassDetail(cid, count) {
    var id_list = Array(count);
    var toHide = 1;
    for (var i = 0; i < count; i++) {
      tid0 = "t" + cid.substr(1) + "." + (i + 1);
      tid = "f" + tid0;
      tr = document.getElementById(tid);
      if (!tr) {
        tid = "p" + tid0;
        tr = document.getElementById(tid);
      }
      if (!tr) {
        tid = "e" + tid0;
        tr = document.getElementById(tid);
      }
      if (!tr) {
        tid = "s" + tid0;
        tr = document.getElementById(tid);
      }
      id_list[i] = tid;
      if (tr.className) {
        toHide = 0;
      }
    }
    for (var i = 0; i < count; i++) {
      tid = id_list[i];
      if (toHide) {
        document.getElementById(tid).className = "hiddenRow";
      } else {
        document.getElementById(tid).className = "";
      }
    }
  }
  function showTestDetail(div_id) {
    var detailsDiv = document.getElementById(div_id);
    var displayState = detailsDiv.style.display;

    if (displayState != "block") {
      displayState = "block";
      detailsDiv.style.display = "block";
    } else {
      detailsDiv.style.display = "none";
    }
  }
  function html_escape(s) {
    s = s.replace(/&/g, "&amp;");
    s = s.replace(/</g, "&lt;");
    s = s.replace(/>/g, "&gt;");
    return s;
  }
</script>

<footer class="footer" style="height: 50px; position: fixed; width: 100%">
  <div class="container-fluid">
    <div class="row">
      <div class="col-md-6">
        XTestRunner 1.7.5; 2024 © SeldomQA Team
      </div>
    </div>
  </div>
</footer>
</body>
</html>